package educationaladministrationsystem.CSM.Mapper.Service.StudentAndTeacher.Teacher;

import educationaladministrationsystem.CSM.Mapper.Service.ServiceInterface.StudentAndTeacherInterface.Teacher.TeacherCourseSchedule;
import educationaladministrationsystem.Class.Course;
import educationaladministrationsystem.CSM.Mapper.StudentAndTeacher.Teacher.TeacherCourseScheduleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeacherCourseScheduleService implements TeacherCourseSchedule {
    @Autowired
    private TeacherCourseScheduleMapper teacherCourseScheduleMapper;

    @Override
    public List<Course> getTeacherCourse(String id) {
        return teacherCourseScheduleMapper.getTeacherCourse(id);
    }
}
